package com.aji.service;

import com.aji.dto.LoginDto;
import com.aji.entity.User;

import java.util.List;

public interface LoginService {
    /**
     * 用户登录
     *
     * @param loginDto
     * @return
     */
    User login(LoginDto loginDto);

    User getByUserId(Long userId);

    List<String> getRoleById(Integer id);
}
